/************************************************************ 
 * Sistema 	 	 			:Lib
 * Analista do Projeto		:Vander Sales
 * Desenvolvedor da classe	:Vander Sales
************************************************************/
using System;
using System.Text;

namespace Lib.Exceptions
{
	public class CreateObjectException : GenericException
	{
		#region Construtores
        public CreateObjectException(string message, Exception innerException) : base(message, innerException)
		{
			this.UserMessage = message;
            this.SystemMessage = innerException.Message;
            this.ExceptionType = ExceptionTypes.CreateObjectException;
			base.Log(this);
		}

        public CreateObjectException(string message) : base(message)
        {
            this.UserMessage = message;
            this.ExceptionType = ExceptionTypes.CreateObjectException;
        }
		#endregion
	}
}
